<template>
    <div class="email" @click="toMessageToUs">
        <van-icon name="envelop-o" />
    </div>
</template>

<script>
    export default {
        methods:{
            toMessageToUs(){
                this.$router.push("/messageToUs")
            }
        }
    }
</script>

<style lang="scss" scoped>
@import "@/assets/common.scss";
.email{
    @include size(40px,40px);
    background:rgb(0,122,255);
    @include center;
    line-height: 43px;
    color:white;
    position: fixed;
    right: 20px;
    bottom: 100px;
    border-radius: 20px;
    font-size: 20px;
}
</style>